package com.cyzy.pojo;

public class TrainSeat {

  private long seatId;
  private String trainNumber;
  private long seatCarriage;
  private long seatRow;
  private String seatPosition;
  private long typeId;
  private long seatStatus;

  public TrainSeat(){}

  public TrainSeat(long seatId, String trainNumber, long seatCarriage, long seatRow, String seatPosition, long typeId, long seatStatus) {
    this.seatId = seatId;
    this.trainNumber = trainNumber;
    this.seatCarriage = seatCarriage;
    this.seatRow = seatRow;
    this.seatPosition = seatPosition;
    this.typeId = typeId;
    this.seatStatus = seatStatus;
  }

  @Override
  public String toString() {
    return "TrainSeat{" +
            "seatId=" + seatId +
            ", trainNumber='" + trainNumber + '\'' +
            ", seatCarriage=" + seatCarriage +
            ", seatRow=" + seatRow +
            ", seatPosition='" + seatPosition + '\'' +
            ", typeId=" + typeId +
            ", seatStatus=" + seatStatus +
            '}';
  }

  public long getSeatId() {
    return seatId;
  }

  public void setSeatId(long seatId) {
    this.seatId = seatId;
  }


  public String getTrainNumber() {
    return trainNumber;
  }

  public void setTrainNumber(String trainNumber) {
    this.trainNumber = trainNumber;
  }


  public long getSeatCarriage() {
    return seatCarriage;
  }

  public void setSeatCarriage(long seatCarriage) {
    this.seatCarriage = seatCarriage;
  }


  public long getSeatRow() {
    return seatRow;
  }

  public void setSeatRow(long seatRow) {
    this.seatRow = seatRow;
  }


  public String getSeatPosition() {
    return seatPosition;
  }

  public void setSeatPosition(String seatPosition) {
    this.seatPosition = seatPosition;
  }


  public long getTypeId() {
    return typeId;
  }

  public void setTypeId(long typeId) {
    this.typeId = typeId;
  }


  public long getSeatStatus() {
    return seatStatus;
  }

  public void setSeatStatus(long seatStatus) {
    this.seatStatus = seatStatus;
  }

}
